import request from '@/utils/request'

// 获取消息发送相关配置
export function messageConf(data) {
	return request({
		url: '/message/conf',
		method: 'POST',
		data: data
	})
}

export function fetchMessage(data) {
	return request({
		url: '/message/list',
		method: 'POST',
		data: data
	})
}

export function addMessage(data) {
	return request({
		url: '/message/add',
		method: 'POST',
		data: data
	})
}

export function sendList(data) {
	return request({
		url: '/message/sendlist',
		method: 'POST',
		data: data
	})
}



// WEBPACK FOOTER //
// ./src/api/push.js